using System;
using System.Collections.Generic;
using System.Text;
using MacomberMap.Common.Components;

namespace MacomberMap.Common.Events
{
    /// <summary>
    /// This class holds information on a forced outage.
    /// </summary>
    public class MM_Event_ForcedOutage: MM_Event
    {
        /// <summary>The element involved in the forced outage</summary>
        public MM_Element Element;

        /// <summary>
        /// Compare two elements
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public override int CompareTo(object obj)
        {
            return Element.CompareTo(((MM_Event_ForcedOutage)obj).Element);
                

        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="OutMenu"></param>
        public override void AddMenuItems(System.Windows.Forms.ContextMenuStrip OutMenu)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public override System.Windows.Forms.ListViewItem BuildListViewItem()
        {
            throw new Exception("The method or operation is not implemented.");
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="OutParent"></param>
        public override void DisplayDetails(System.Windows.Forms.Control OutParent)
        {
            throw new Exception("The method or operation is not implemented.");
        }

        /// <summary>
        /// 
        /// </summary>
        /// <param name="lvItem"></param>
        public override void UpdateListViewItem(System.Windows.Forms.ListViewItem lvItem)
        {
            throw new Exception("The method or operation is not implemented.");
        }


    }
}
